Skip to content

Improve user lookup and enhance returned data#8

Merged
hussein-m-kandil merged 4 commits intomainfrom
dev
Jun 23, 2025
Merged

Improve user lookup and enhance returned data#8
hussein-m-kandil merged 4 commits intomainfrom
dev

Conversation

@hussein-m-kandil
Copy link
Copy Markdown
Owner

This pull request enhances the flexibility of user-related endpoints and improves the user data returned with related resources, such as comments and votes.

What’s New

  • 🧑‍💻 Added support for retrieving users by either ID or username.
  • 🔓 Removed restrictions that previously limited access to user data.
  • 🔤 Updated the username schema for better validation and consistency.
  • 📝 Allowed optional bio field when creating or updating a user.

Enhancements

  • 💬 Improved the shape of the data included in comments and votes responses, making it more informative and consistent.

There are no restriction on any GET method, because the API is
responding on a limited set of origins. See the CORS settings in
the app's entry point.
@hussein-m-kandil hussein-m-kandil merged commit 703e402 into main Jun 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant